import request from '@/utils/request'

export function getRegion(pid, level) {
  return request({
    url: '/region/getList',
    method: 'get',
    params: {
      regionLevel: level,
      parentId: pid,
      regionDsc: ''
    }
  })
}
